/*

  Load a terrain model from a file.

  @author Richard Kelley, Liesl Wigand

 */

#ifndef TERRAIN_LOADER_H
#define TERRAIN_LOADER_H

#include <string>
#include <stdlib.h>
#include<QDebug>

#include "terrain.h"

namespace blackjack {

  class TerrainLoader {
  public:
    TerrainLoader();

    /*
      Load terrain from a pgm height map in the file.
    */
    bool loadFromPGM(Terrain *t, std::string fileName);
    
  };

}

#endif // TERRAIN_LOADER_H
